package 面向对象;

public class BankAccountTest {
    public static void main(String[] args) {
        BankAccount account = new BankAccount("2152747315", "王明", 1000.0);
        account.displayAccountInfo();
        account.withdraw(200.0);
        account.deposit(2000.0);
        account.freezeAccount();
        account.displayAccountInfo();
        account.unfreezeAccount();
        account.displayAccountInfo();
    }
}